@charset "utf-8";
@import "common";

// width大于等于992时LayaAir到LayaPublish样式
@mixin laya3-6 {
    padding: 93px 0 84px;
    .title {
        span:first-child {
            display: inline-block;
            width: 40px;
            height: 41px;
            background-color: #3393df;
            border-radius: 2px;
            font-size: 40px;
            color: #fff;
            line-height: 41px;
            text-align: center;
        }

        span:last-child {
            font-size: 42px;
            color: #3393df;
            margin-left: 13px;
        }
    }
    >p{
        font-size: 18px;
        color: #5d5d5d;
        margin-top: 23px;
    }
    .content{
        margin-bottom: 40px;
        span{
            font-size: 18px;
            color: #3393df;
            display: inline-block;
            margin-bottom: 10px;
        }
        p{
            height: 40px;
            font-size: 14px;
            text-indent: 2em;
            color: #5d5d5d;
            margin-bottom: 35px;
        }
    }
    .icon{
        text-align: center;
        img{
            width: 162px;
        }
    }
}
// width大于等于768小于992时LayaAir到LayaPublish样式
@mixin laya-991{
    padding: 30px 0;
    .title {
        span:first-child {
            width: 30px;
            height: 30px;
            line-height: 30px;
            font-size: 25px;
        }

        span:nth-child(2) {
            font-size: 25px;
        }
    }
    >p{
        margin-top: 10px;
    }
    .content{
        p{
            margin-bottom: 20px;
        }
    }
}
// width小于768时LayaAir到LayaPublish样式
@mixin laya-767{
    padding: 15px 0;
    .content{
        margin-bottom: 0;
        p{
            margin-bottom: 0;
        }
    }
    .icon{
        display: none;
    }
}


.wrap {
    main {
        .layaFlash {
            padding: 60px 0;
            background-color: #8bc01f;

            .layaFlash-desc {
                color: #ffffff;

                .layaFlash-title {
                    span:first-child {
                        display: inline-block;
                        width: 55px;
                        height: 53px;
                        line-height: 53px;
                        text-align: center;
                        background-color: #ffffff;
                        border-radius: 2px;
                        font-size: 48px;
                        color: #8bc01f;
                    }

                    span:nth-child(2) {
                        font-size: 48px;
                        color: #ffffff;
                        margin-left: 13px;
                    }

                    p {
                        font-size: 24px;
                        margin-bottom: 67px;
                    }
                }

                .layaFlash-content {
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                    height: 200px;

                    p {
                        font-size: 14px;
                    }

                    button {
                        width: 100px;
                        height: 34px;
                        background-color: #e8f2d2;
                        border-radius: 4px;
                        border-width: 0;
                        font-size: 14px;
                        color: #8bc01f;
                        line-height: 34px;
                        text-align: center;
                        margin-top: 10px;
                    }
                }

            }

            .layaFlash-img {
                img {
                    width: 100%;
                }
            }
        }

        .layaPlayer {
            background-color: #3393df;
            padding: 75px 0 60px;

            .layaPlayer-left {
                .left-title {
                    span:first-child {
                        display: inline-block;
                        width: 42px;
                        height: 44px;
                        background-color: #ffffff;
                        border-radius: 2px;
                        font-size: 40px;
                        color: #3393df;
                        line-height: 44px;
                        text-align: center;
                    }

                    span:last-child {
                        font-size: 48px;
                        color: #fff;
                        margin-left: 5px;
                    }
                }
            }

            .layaPlayer-middle {
                color: #fff;
                width: 297px;
                margin-top: 90px;

                span {
                    font-size: 24px;
                }

                p {
                    font-size: 14px;
                    line-height: 37px;
                    margin-bottom: 33px;
                }
            }

            .layaPlayer-right {
                margin-top: 288px;
            }
        }

        .air-open {
            .layaAir {
                @include laya3-6;
            }
            .layaOpen{
                @include laya3-6;
            }
        }
        .store-publish {
            background-color: #f7f7f7;
            .layaStore {
                @include laya3-6;
            }
            .layaPublish{
                @include laya3-6;
            }
        }
    }
}

@media screen and (max-width: 991px) {
    .wrap {
        main {
            .layaFlash {
                padding: 30px 0;

                .layaFlash-desc {
                    .layaFlash-title {
                        span:first-child {
                            width: 30px;
                            height: 30px;
                            line-height: 30px;
                            font-size: 25px;
                        }

                        span:nth-child(2) {
                            font-size: 25px;
                        }

                        p {
                            font-size: 20px;
                            margin-bottom: 20px;
                        }
                    }

                    .layaFlash-content {
                        height: 150px;
                    }
                }

                .layaFlash-img {
                    img {
                        width: 85%;
                    }
                }
            }

            .layaPlayer {
                padding: 30px 0 0;

                .layaPlayer-left {
                    .left-title {
                        span:first-child {
                            width: 30px;
                            height: 30px;
                            line-height: 30px;
                            font-size: 25px;
                        }

                        span:nth-child(2) {
                            font-size: 25px;
                        }
                    }

                    .left-img {
                        margin-top: 50px;

                        img {
                            width: 100%;
                        }
                    }
                }

                .layaPlayer-middle {
                    margin-top: 20px;
                    width: 220px;

                    span {
                        font-size: 20px;
                    }

                    p {
                        font-size: 14px;
                        line-height: 20px;
                        margin-bottom: 33px;
                    }
                }

                .layaPlayer-right {
                    margin-top: 70px;

                    img {
                        width: 90%;
                    }
                }
            }
            .air-open{
                .layaAir{
                    @include laya-991;
                }
                .layaOpen{
                    @include laya-991;
                }
            }
            .store-publish {
                .layaStore {
                    @include laya-991;
                }
                .layaPublish{
                    @include laya-991;
                }
            }
        }
    }
}

@media screen and (max-width: 767px) {
    .wrap {
        main {
            .layaFlash {

                padding: 10px 0;

                .layaFlash-desc {
                    width: 100%;

                    .layaFlash-title {
                        p {
                            margin-bottom: 10px;
                        }
                    }

                    .layaFlash-content {
                        height: 210px;
                    }
                }

                .layaFlash-img {
                    display: none;
                }
            }

            .layaPlayer {
                padding-top: 10px;

                .layaPlayer-left {
                    .left-img {
                        display: none;
                    }
                }

                .layaPlayer-middle {
                    width: 100%;

                    P {
                        line-height: 30px;
                        margin-bottom: 20px;
                    }
                }

                .layaPlayer-right {
                    display: none;
                }
            }
            .air-open{
                .layaAir{
                    @include laya-767;
                }
                .layaOpen{
                    @include laya-767;
                }
            }
            .store-publish {
                .layaStore {
                    @include laya-767;
                }
                .layaPublish{
                    @include laya-767;
                }
            }
        }
    }
}